-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(amazonq): Fix edge cases of context command updates #6686
Conversation
|
// user created a new empty file using File -> New File | ||
// these events will not be captured by vscode.workspace.onDidCreateFiles | ||
// because it was created by File Explorer(Win) or Finder(MacOS) | ||
// TODO: consider using a high performance fs watcher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? fs watchers have been a source of performance issues in the past. Please do not add more of them without careful consideration. (We already spawn tons of them.)
{ interval: 500, timeout: 5_000, truthy: true } | ||
) | ||
} | ||
const onRemove = async (filePaths: string[]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is nearly identical to the onAdd case above.
Problem
Solution
feature/x
branches will not be squash-merged at release time.